package com.fengwensen.hdcmp;

import java.util.Objects;

public class Test {
    public static void main(String[] args) {
        Student student = null;
        Student student1 = new Student();
//        student.setName("fengwensen");
//        student.setAge(18);
        boolean res = Objects.isNull(student);
        System.out.println(res);
        res = Objects.isNull(student1);
        System.out.println(res);
    }
}
